package org.jeecg.modules.hotel.belongToSkd.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description:
 * @author:MJ-BaBa
 * @date: 2023-01-05
 */

@Data
@ApiModel(value="订阅事件报文格式", description="订阅事件报文格式")
public class HKReceiveData implements Serializable {
    private static final long serialVersionUID = 1L;

    /**事件从接收者（如设备接入框架）发出的时间*/
    @ApiModelProperty(value = "主键")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private java.util.Date sendTime;
    /**事件发出时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "事件发出时间")
    private java.util.Date happenTime;
    /**进出类型 in:进，out:出*/
    @ApiModelProperty(value = "进出类型")
    private java.lang.String entryType;
    /**进出方式 0:刷脸，1:刷卡*/
    @ApiModelProperty(value = "进出方式")
    private java.lang.Integer entryMode;
    /**事件id*/
    @ApiModelProperty(value = "事件id")
    private java.lang.String eventId;
    /**订阅事件码*/
    @ApiModelProperty(value = "订阅事件码")
    private java.lang.String eventType;
    /**学生id*/
    @ApiModelProperty(value = "学生id")
    private java.lang.String studentId;
    /**姓名*/
    @ApiModelProperty(value = "姓名")
    private java.lang.String name;
    /**学工号*/
    @ApiModelProperty(value = "学工号")
    private java.lang.String studentCode;
    /**楼栋路径*/
    @ApiModelProperty(value = "楼栋路径")
    private java.lang.String dormPath;
    /**性别 0-未知；1-男性；2-女性*/
    @ApiModelProperty(value = "性别")
    private java.lang.Integer sex;
    /**人员类型*/
    @ApiModelProperty(value = "人员类型")
    private java.lang.Integer personType;
    /**在寝人数*/
    @ApiModelProperty(value = "在寝人数")
    private java.lang.Integer inDormNum;
    /**学生所在宿舍路径*/
    @ApiModelProperty(value = "学生所在宿舍路径")
    private java.lang.String dormCode;
    /**宿舍已经入住人数*/
    @ApiModelProperty(value = "宿舍已经入住人数")
    private java.lang.Integer dormStuNum;



}
